﻿@model Keepo.Models.Services.DesignVectorExport
@using (Html.BeginForm("UploadImage", "DesignVectors", FormMethod.Post, new { id = "frmUploadImage", target = "UploadIframe", enctype = "multipart/form-data" }))
{
    <div class="fieldRow">
        <div class="label">
            בחר מדבקה (קובץ SWF)</div>
        <div class="value">
            <input type="file" name="file" />
        </div>
    </div>
    <iframe id="UploadIframe" name="UploadIframe" src="" class="hidden"></iframe>
}
@using (Html.BeginForm("AddDesignVector", "DesignVectors", FormMethod.Post, new { id = "frmAddDesignVector" }))
{
    @Html.HiddenFor(m => m.ThumbnailUrl)
    <div class="fieldRow">
        <div class="label">
            כותרת</div>
        <div class="value">
            @Html.TextBoxFor(m => m.Title)
            @Html.ValidationMessageFor(m => m.Title)
        </div>
    </div>
    <div class="fieldRow">
        <div class="label">
            קטגוריה</div>
        <div class="value">
            @Html.DropDownListFor(m => m.VectorCategoryId, (ViewBag.CategoryId as SelectList))
        </div>
    </div>
    <div class="fieldRow">
        <div class="label">
        </div>
        <div class="value">
            <input type="button" id="btnAddDesignVectorConfirm" value="הוסף" class="button" />
        </div>
    </div>
}